<template>
	<div>
		<el-tabs v-model="params.tab" @tab-click="handleLargeTabClick">
			<el-tab-pane label="我的发布" name="0">
				<contentScheme></contentScheme>
			</el-tab-pane>
		    <el-tab-pane label="我的征集" name="1">
				<contentCollect></contentCollect>
		    </el-tab-pane>
			<el-tab-pane label="我的投稿" name="2">
				<contentContribute></contentContribute>
			</el-tab-pane>
		</el-tabs>
	</div>
</template>
<script>
	import contentScheme from "./contentScheme.vue";
	import contentCollect from "./contentCollect.vue";
	import contentContribute from "./contentContribute.vue";

	export default {
		components: {
			contentScheme,
			contentCollect,
			contentContribute
		},
		data() {
			return {
				params: {
					tab:'0',
				},
			};
		},
		created() {
			
		},
		methods: {
			// 点击一级标签
			handleLargeTabClick(tab){
				this.params.tab = tab.name;
			},
		},
	};
</script>
<style lang="less" scoped>
	.el-card {
		overflow-y: auto;
		height: 830px;
	}

	.bigBtn {
		width: 140px;
	}

	.tree_icon {
		color: #67c23a;
	}

	.poolPage {
		margin-top: 15px;
		text-align: right;
	}

	/deep/.treeRadio .el-checkbox__inner {
		border-radius: 50%;
	}

	/deep/ .el-tree {
		// padding-top: 15px;
		// padding-left: 10px;

		// 不可全选样式
		.el-tree-node {
			margin-bottom: 5px;

			.is-leaf+.el-checkbox .el-checkbox__inner {
				display: inline-block;
			}

			.el-checkbox .el-checkbox__inner {
				display: none;
			}
		}
	}

	.treeWrapper {
		height: 600px;
		overflow-y: auto;
	}
</style>